using System;
using Wolfpack.Core.Interfaces.Entities;

namespace Wolfpack.Contrib.Deployment.Exe
{
    public class ExecuteDeploymentPublisher : ExecuteDeploymentPublisherBase<ExecuteDeploymentConfig>
    {
        public ExecuteDeploymentPublisher(ExecuteDeploymentConfig config) 
            : base(config)
        {
        }

        protected override PluginDescriptor BuildMessageIdentity()
        {
            return new PluginDescriptor
            {
                Description = string.Format("Execute Deployment Publisher ({0} package)", Config.PackageId),
                Name = Config.FriendlyId,
                TypeId = new Guid("E93D6DF7-2D6E-4152-BEAE-A8C4F7FCCF81")
            };
        }
    }
}
